<?php get_header(); ?>

<!-- start content items -->
<div id="content">

<!-- start center -->
<div id="SC">

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
        
<div class="Post" id="post-<?php the_ID(); ?>">
<div class="PostHead">
<div><h1><?php the_title(); ?>  <span id="scrollto" >占个座位先</span></h1></div>
<div class="navigation"><?php previous_post_link(' %link &raquo;') ?></div>
<small class="PostAuthor">Author: <?php the_author() ?> <?php edit_post_link('Edit'); ?><?php if(function_exists('the_ratings')) { echo " , Rating:";the_ratings('span'); } ?> </small>

<p class="PostDate">
<small class="day"><?php the_time('j') ?></small>
<small class="month"><?php the_time('M') ?></small>
<small class="year"><?php the_time('Y') ?></small>
</p>

</div>

<div class="PostContent">

 <?php the_content("<p>Read the rest of this entry &raquo;</p>"); ?>

 <div id="relate_div">
	<div id="stprelated">
		<?php if(function_exists("st_related_posts")) echo st_related_posts() ?>
	</div>
</div>

</div>

<div class="PostDet"><ul>
 <li class="PostCom"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?><?php if(function_exists('the_views')) {$views=the_views('',false); if ($views!=0)echo " , ".$views." Hits"; } ?>  </li>
 <li class="PostCateg"><?php if(function_exists('st_the_tags'))st_the_tags(); else the_category(', '); ?></li></ul>
</div>

</div>

<ul class="Note">
<li class="NoteRss"><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post')); ?></li>
<?php if ( pings_open() ) : ?>
<li class="NoteTrackBack"><a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Uniform Resource Identifier">URI</abbr>'); ?></a></li>

<?php endif; ?>
</ul>


<?php if(function_exists('paged_comments_template'))paged_comments_template('/comments-paged.php'); else comments_template(); ?>
<?php endwhile; else : ?>

<h2><?php _e('Not Found'); ?></h2>
<p><?php _e('Sorry, but the page you requested cannot be found.'); ?></p>
<?php endif; ?>
</div>

<!-- end center -->
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
